package com.situ.domain.vo;

import com.situ.domain.entity.TOrder;
import com.situ.domain.entity.TOrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;


@Data
@Schema(description = "订单和订单项")
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
public class OrderAndItemVO extends TOrder {
    @Schema(description = "订单项")
    private List<TOrderItem> orderItems;
}
